package com.inspur.common;

public class StringTools {

    public static String nvl(String val){
        return val==null? "" : val;
    }

    /**
     * 判断字符串是否为空或者空字符串 true:是空
     * @param val
     * @return
     */
    public static boolean isEmpty(String val){
        return val==null || "".equals(val);
    }
}
